#ifndef __ATOMTRACE_UTIL_H_
#define __ATOMTRACE_UTIL_H_

namespace AtomTrace{
	class Vector3;

	const Vector3 GetCrossNormal(const Vector3 & v1, const Vector3 & v2);
	inline float absf(float ival);
    void ConvertLineIndexToZindexXY(int ival, int & ox, int & oy);

	float absf(float ival)
	{
		if(ival < 0.0f) return -ival;
		return ival;
	}

    
}

#endif // __ATOMTRACE_UTIL_H_
